package com.aix.demo.activity;

import java.io.File;
import java.io.IOException;

import android.os.Bundle;
import android.os.Environment;

import com.aix.android.framework.activity.BaseActivity;
import com.aix.demo.R;

public class SDCardActivity extends BaseActivity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.activity_sdcard);
		
		File file = new File("/sdcard/test_aix111.txt");
		if (!file.exists()) {
			try {
				file.createNewFile();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}
}
